package com.yanghx.product.service;


import com.yanghx.product.common.DecreaseStockInput;
import com.yanghx.product.common.ProductInfoOutput;
import com.yanghx.product.entity.ProductInfo;

import java.util.List;

public interface ProductService {

    /**
     * 查询所有在架商品列表
     */
    List<ProductInfo> findUpAll();

    List<ProductInfoOutput> findList(List<String> productIdList);

    void decreaseStock(List<DecreaseStockInput> decreaseStockInputList);
}
